package LessonWork;

public class PolySinglyListTest {
    public static void main(String[] args) {
        PolySinglyList<TermX> t1 = new PolySinglyList<>("9-3x^2+2x^3+3x^6+8x^7+9x^8");
        PolySinglyList<TermX> t2 = new PolySinglyList<>("-4+3x^2+3x^4+7x^5+200x^100");
        System.out.println(t1);

        System.out.println(t2);
        t1.Addall(t2);
        System.out.println(t1);
    }
}
